﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebFooter.ascx.cs" Inherits="Rison.Web.ascx.WebFooter" %>
         <div id="footer">
             <table border="0" cellpadding="0"  cellspacing="0" width="100%">
                <tr>
                    <td>上海长宁区门户网站 | ICP0554050 | 电话：62527000 | 传真：62517611</td>
                    <td></td>
                    <td width="300" align="right">
                        <div>上海市长宁区人民政府版权所有</div>
                        <div>Copyright 2011 Shanghai China All Rights Reserved.</div>
                    </td>
                </tr>
            </table>     
          </div>
        </div>
     </div>
</div>
<div id="bottom"></div>
<script type="text/javascript"> 
	var a = document.all.tags("input");
	
	for (var i=0; i<a.length; i++)
	{
	    if(a[i].type=="checkbox1" || a[i].type=="radio1") 
	    {
			a[i].className="inputCheckBox";
		}
		else if(a[i].type=="button" || a[i].type=="submit") 
		{
            a[i].className="inputButton";
	    }
	}
	
	var global=document.getElementById ("globalContiner");
	var footer=document.getElementById ("webFooter");
	if(global)
	{
	    //debugger ;
	    if(global.offsetHeight < screen.availHeight)
	    {
	        global.style.height=(screen.availHeight-125) + "px";
	        
	        if(footer)
	        {
	            footer.style.posTop = (screen.availHeight-125-32)+"px";
	            footer.style.pixelTop = (screen.availHeight-125-32)+"px";
	            footer.runtimeStyle.top=(screen.availHeight-125-32);
	            footer.runtimeStyle.bottom="0";
	        }
	    }
	    
	}
</script>
